package com.koron.order.cockpitStats.business.service;

import com.koron.order.cockpitStats.business.bean.query.DefectStatsQuery;
import com.koron.order.cockpitStats.business.bean.vo.DefectStatsGatherVo;
import com.koron.order.cockpitStats.business.bean.vo.OrderPassRateGatherVo;
import com.koron.order.cockpitStats.business.bean.vo.PlanStatsGatherVo;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

public interface StatsService {

    DefectStatsGatherVo queryDefectStats(SessionFactory factory, DefectStatsQuery defectStatsQuery);

    PlanStatsGatherVo queryPlanStats(SessionFactory factory, DefectStatsQuery defectStatsQuery);

    List<OrderPassRateGatherVo> queryOrderPassRateStats(SessionFactory factory, DefectStatsQuery defectStatsQuery);

}
